package com.leyou.dao;

import com.leyou.common.vo.SpuItemAttrGroupVo;
import com.leyou.entity.SpecGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 规格参数的分组表，每个商品分类下有多个规格参数组
 * 
 * @author Daifeng
 * @email 2661184062@qq.com
 * @date 2020-12-25 16:44:47
 */
@Mapper
public interface SpecGroupDao extends BaseMapper<SpecGroupEntity> {

    List<SpuItemAttrGroupVo> getGroupAttrByCid(@Param("cid") Long cid);

}
